<html>
<body>

<?php

include('config.php');


$result = mysql_query("SELECT * FROM klant");

echo "<table border='1'>
<tr>
<th>postcode</th>
<th>naam</th>
</tr>";

while($row = mysql_fetch_array($result))
  {
  echo "<tr>";
  echo "<td>" . $row['postc'] . "</td>";
  echo "<td>" . $row['naam'] . "</td>";
  echo "</tr>";
  }
echo "</table>";
?> 

</body>
</html>
